import request from '@/utils/request'

export function getList(query) {
  return request({
    url: 'admin/get-product-material-list',
    method: 'get',
    params: query
  })
}

export function create(obj) {
  return request({
    url: 'admin/create-product-material',
    method: 'post',
    data: obj
  })
}

export function del(data) {
  return request({
    url: 'admin/delete-product-material',
    method: 'post',
    data
  })
}
